<?php

class indexController extends Controller {
    public function __construct() {
        parent::__construct();
        //$this->_view->setLayout('fimex');
    }
    
    public function index(){
        $encabezados = array(
            'Model',
            'databaseDux',
            'Model2',
            'database',
            'Model3',
            'DatabaseSQLServer',
            'Controller',
            'View'
        );
        
        $metodos =array(
            'Model' => get_class_methods('Model'),
            'databaseDux' => get_class_methods('databaseDux'),
            'Model2' => get_class_methods('Model2'),
            'database' => get_class_methods('database'),
            'Model3' => get_class_methods('Model3'),
            'DatabaseSQLServer' => get_class_methods('DatabaseSQLServer'),
            'Controller' => get_class_methods('controller'),
            'View' => get_class_methods('view')
        );
        
        $variables = array(
            'Model' => get_class_vars('Model'),
            'databaseDux' => get_class_vars('databaseDux'),
            'Model2' => get_class_vars('Model2'),
            'database' => get_class_vars('database'),
            'Model3' => get_class_vars('Model3'),
            'DatabaseSQLServer' => get_class_vars('DatabaseSQLServer'),
            'Controller' => get_class_vars('controller'),
            'View' => get_class_vars('view')
        );
        
        $this->_view->assign('enc', $encabezados);
        $this->_view->assign('met', $metodos);
        $this->_view->assign('vars', $variables);
        
        $this->_view->renderizar('index', 'inicio');
    }
}

?>